<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCAD::Plane Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceShipCAD.html">ShipCAD</a></li><li class="navelem"><a class="el" href="classShipCAD_1_1Plane.html">Plane</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classShipCAD_1_1Plane-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ShipCAD::Plane Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="plane_8h_source.html">plane.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acac0d9c003e0ab10d07b146c3566a0c7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#acac0d9c003e0ab10d07b146c3566a0c7">Plane</a> ()</td></tr>
<tr class="separator:acac0d9c003e0ab10d07b146c3566a0c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a1420228e8baa632c7e8ba66f27772f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a9a1420228e8baa632c7e8ba66f27772f">Plane</a> (float <a class="el" href="classShipCAD_1_1Plane.html#a1105f3715d9593c0971e0b0959859a84">a</a>, float <a class="el" href="classShipCAD_1_1Plane.html#adf79c9ba86dd3112fc098141195fcac5">b</a>, float <a class="el" href="classShipCAD_1_1Plane.html#a01b0067ca1a669aef5a8ab85bfce41cc">c</a>, float <a class="el" href="classShipCAD_1_1Plane.html#a7755d7967aae2e083c5d08fed49d9eef">d</a>)</td></tr>
<tr class="separator:a9a1420228e8baa632c7e8ba66f27772f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a254ddea0d760646007a19512e502e6fc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a254ddea0d760646007a19512e502e6fc">Plane</a> (const QVector3D &amp;p, const QVector3D &amp;normal)</td></tr>
<tr class="separator:a254ddea0d760646007a19512e502e6fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbaa1f5c7100e5592312359cb8eede37"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#adbaa1f5c7100e5592312359cb8eede37">Plane</a> (const QVector3D &amp;p1, const QVector3D &amp;p2, const QVector3D &amp;p3)</td></tr>
<tr class="separator:adbaa1f5c7100e5592312359cb8eede37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff2204f8b2b25c201d172d4ec2518c77"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#aff2204f8b2b25c201d172d4ec2518c77">~Plane</a> ()</td></tr>
<tr class="separator:aff2204f8b2b25c201d172d4ec2518c77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1105f3715d9593c0971e0b0959859a84"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a1105f3715d9593c0971e0b0959859a84">a</a> () const </td></tr>
<tr class="separator:a1105f3715d9593c0971e0b0959859a84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf79c9ba86dd3112fc098141195fcac5"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#adf79c9ba86dd3112fc098141195fcac5">b</a> () const </td></tr>
<tr class="separator:adf79c9ba86dd3112fc098141195fcac5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01b0067ca1a669aef5a8ab85bfce41cc"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a01b0067ca1a669aef5a8ab85bfce41cc">c</a> () const </td></tr>
<tr class="separator:a01b0067ca1a669aef5a8ab85bfce41cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7755d7967aae2e083c5d08fed49d9eef"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a7755d7967aae2e083c5d08fed49d9eef">d</a> () const </td></tr>
<tr class="separator:a7755d7967aae2e083c5d08fed49d9eef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a383a2f49031b8bcfa04be06035836a05"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a383a2f49031b8bcfa04be06035836a05">setA</a> (float val)</td></tr>
<tr class="separator:a383a2f49031b8bcfa04be06035836a05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab7d46cba75a32089644b183e0a82dff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#aab7d46cba75a32089644b183e0a82dff">setB</a> (float val)</td></tr>
<tr class="separator:aab7d46cba75a32089644b183e0a82dff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affed6efd889f4725ae764b243763fb3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#affed6efd889f4725ae764b243763fb3e">setC</a> (float val)</td></tr>
<tr class="separator:affed6efd889f4725ae764b243763fb3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c3e18bcb1bb77563fd994866ba823df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a5c3e18bcb1bb77563fd994866ba823df">setD</a> (float val)</td></tr>
<tr class="separator:a5c3e18bcb1bb77563fd994866ba823df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6851b997a300848fcb37b33407165c44"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a6851b997a300848fcb37b33407165c44">distance</a> (const QVector3D &amp;point) const </td></tr>
<tr class="separator:a6851b997a300848fcb37b33407165c44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76d5f22d213962e8ab0880fae3e919df"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a76d5f22d213962e8ab0880fae3e919df">intersectsBox</a> (const QVector3D &amp;p1, const QVector3D &amp;p2) const </td></tr>
<tr class="separator:a76d5f22d213962e8ab0880fae3e919df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ef81e9310257ad80b087181f3191b4a"><td class="memItemLeft" align="right" valign="top">QVector3D&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a2ef81e9310257ad80b087181f3191b4a">projectPointOnPlane</a> (const QVector3D &amp;p) const </td></tr>
<tr class="memdesc:a2ef81e9310257ad80b087181f3191b4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">project a point onto a plane  <a href="#a2ef81e9310257ad80b087181f3191b4a">More...</a><br /></td></tr>
<tr class="separator:a2ef81e9310257ad80b087181f3191b4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f6c0ea64a798798ee098658cd38935b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a8f6c0ea64a798798ee098658cd38935b">intersectLine</a> (const QVector3D &amp;pt, const QVector3D &amp;n, bool &amp;coplanar, QVector3D &amp;intpt) const </td></tr>
<tr class="memdesc:a8f6c0ea64a798798ee098658cd38935b"><td class="mdescLeft">&#160;</td><td class="mdescRight">intersect a line with this plane  <a href="#a8f6c0ea64a798798ee098658cd38935b">More...</a><br /></td></tr>
<tr class="separator:a8f6c0ea64a798798ee098658cd38935b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77073798d61488aeac1ebe95358e3b98"><td class="memItemLeft" align="right" valign="top">QVector3D&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Plane.html#a77073798d61488aeac1ebe95358e3b98">mirror</a> (const QVector3D &amp;pt) const </td></tr>
<tr class="memdesc:a77073798d61488aeac1ebe95358e3b98"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the mirror of a point about the plane  <a href="#a77073798d61488aeac1ebe95358e3b98">More...</a><br /></td></tr>
<tr class="separator:a77073798d61488aeac1ebe95358e3b98"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="plane_8h_source.html#l00039">39</a> of file <a class="el" href="plane_8h_source.html">plane.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acac0d9c003e0ab10d07b146c3566a0c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Plane::Plane </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8cpp_source.html#l00037">37</a> of file <a class="el" href="plane_8cpp_source.html">plane.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9a1420228e8baa632c7e8ba66f27772f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Plane::Plane </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8cpp_source.html#l00042">42</a> of file <a class="el" href="plane_8cpp_source.html">plane.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a254ddea0d760646007a19512e502e6fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Plane::Plane </td>
          <td>(</td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>normal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8cpp_source.html#l00050">50</a> of file <a class="el" href="plane_8cpp_source.html">plane.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adbaa1f5c7100e5592312359cb8eede37"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Plane::Plane </td>
          <td>(</td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>p1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>p2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>p3</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8cpp_source.html#l00058">58</a> of file <a class="el" href="plane_8cpp_source.html">plane.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aff2204f8b2b25c201d172d4ec2518c77"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ShipCAD::Plane::~Plane </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8h_source.html#l00048">48</a> of file <a class="el" href="plane_8h_source.html">plane.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1105f3715d9593c0971e0b0959859a84"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float ShipCAD::Plane::a </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8h_source.html#l00050">50</a> of file <a class="el" href="plane_8h_source.html">plane.h</a>.</p>

</div>
</div>
<a class="anchor" id="adf79c9ba86dd3112fc098141195fcac5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float ShipCAD::Plane::b </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8h_source.html#l00052">52</a> of file <a class="el" href="plane_8h_source.html">plane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a01b0067ca1a669aef5a8ab85bfce41cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float ShipCAD::Plane::c </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8h_source.html#l00054">54</a> of file <a class="el" href="plane_8h_source.html">plane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7755d7967aae2e083c5d08fed49d9eef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float ShipCAD::Plane::d </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8h_source.html#l00056">56</a> of file <a class="el" href="plane_8h_source.html">plane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6851b997a300848fcb37b33407165c44"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Plane::distance </td>
          <td>(</td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>point</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8cpp_source.html#l00072">72</a> of file <a class="el" href="plane_8cpp_source.html">plane.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8f6c0ea64a798798ee098658cd38935b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Plane::intersectLine </td>
          <td>(</td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>pt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>coplanar</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QVector3D &amp;&#160;</td>
          <td class="paramname"><em>intpt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>intersect a line with this plane </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pt</td><td>point on line </td></tr>
    <tr><td class="paramname">n</td><td>direction of line </td></tr>
    <tr><td class="paramname">coplanar</td><td>will be true if line lies in the plane </td></tr>
    <tr><td class="paramname">intpt</td><td>intersection point </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if line and plane are parallel </dd></dl>

<p>Definition at line <a class="el" href="plane_8cpp_source.html#l00136">136</a> of file <a class="el" href="plane_8cpp_source.html">plane.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a76d5f22d213962e8ab0880fae3e919df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Plane::intersectsBox </td>
          <td>(</td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>p1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>p2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8cpp_source.html#l00078">78</a> of file <a class="el" href="plane_8cpp_source.html">plane.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a77073798d61488aeac1ebe95358e3b98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVector3D Plane::mirror </td>
          <td>(</td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get the mirror of a point about the plane </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pt</td><td>point to mirror </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the mirrored point </dd></dl>

<p>Definition at line <a class="el" href="plane_8cpp_source.html#l00153">153</a> of file <a class="el" href="plane_8cpp_source.html">plane.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2ef81e9310257ad80b087181f3191b4a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVector3D Plane::projectPointOnPlane </td>
          <td>(</td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>project a point onto a plane </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td>the point to project onto this plane </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the projected point </dd></dl>

<p>Definition at line <a class="el" href="plane_8cpp_source.html#l00124">124</a> of file <a class="el" href="plane_8cpp_source.html">plane.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a383a2f49031b8bcfa04be06035836a05"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ShipCAD::Plane::setA </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8h_source.html#l00059">59</a> of file <a class="el" href="plane_8h_source.html">plane.h</a>.</p>

</div>
</div>
<a class="anchor" id="aab7d46cba75a32089644b183e0a82dff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ShipCAD::Plane::setB </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8h_source.html#l00062">62</a> of file <a class="el" href="plane_8h_source.html">plane.h</a>.</p>

</div>
</div>
<a class="anchor" id="affed6efd889f4725ae764b243763fb3e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ShipCAD::Plane::setC </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8h_source.html#l00065">65</a> of file <a class="el" href="plane_8h_source.html">plane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5c3e18bcb1bb77563fd994866ba823df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ShipCAD::Plane::setD </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="plane_8h_source.html#l00068">68</a> of file <a class="el" href="plane_8h_source.html">plane.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>ShipCADlib/<a class="el" href="plane_8h_source.html">plane.h</a></li>
<li>ShipCADlib/<a class="el" href="plane_8cpp_source.html">plane.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
